package com.farmpost.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.farmpost.server.pojo.RespBean;
import com.farmpost.server.pojo.UserInfo;
import com.farmpost.server.pojo.UserLogin;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 专用用户登录 服务类
 * </p>
 *
 * @author king
 * @since 2022-04-03
 */
public interface IUserLoginService extends IService<UserLogin> {

    /**
     * 查询注册时的用户名是否被使用过
     * @param username
     * @return
     */
    UserInfo getUserNameOnRegister(String username);
}
